using KinonekoSoftware.CodariaDB.Documents.Personalities;

namespace KinonekoSoftware.Studio.Models.DataParts.Personality
{
    public abstract class GroupEditorPresenter<TContainer, T> : PreferenceGroupPresenter where TContainer : PreferenceGroup
    {
        protected GroupEditorPresenter(TContainer container)
        {
            Container = container;
            Items     = new ObservableCollection<T>();


        }

        public override PreferenceGroup Group => Container;

        protected TContainer Container { get; }

        public ObservableCollection<T> Items { get; }
    }
}